package onion;

import java.io.Serializable;
import java.security.PublicKey;
/**
 *
 * @author xDEMONx
 */
final class OnionConst{
    static final String PublicKeyEncrypt = "RSA", SymmeetricKeyEncrypt = "AES";
    static final String SymmetricEncryptMode = "/CTR/PKCS5Padding";
    static final int PKE_keysize = 1024, SKE_keysize = 128;
    static final int SKE_block_size_byte = 16;
    static final int max_size = 10*1024*1024;
    static final int block_size_decrypt = 128;
    static final int max_size_block_encrypt =117;
    static String CharSet = "UTF-8";
}
public class NodeAddress implements Serializable{
    public String IP;
    public int port;
    public PublicKey PK;  
}
